<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        @font-face {
            /* 不带引号可能无法使用 */
            font-family: 'icomoon';
            src: url('fonts/icomoon.eot?7kkyc2');
            src: url('fonts/icomoon.eot?7kkyc2#iefix') format('embedded-opentype'),
                url('fonts/icomoon.ttf?7kkyc2') format('truetype'),
                url('fonts/icomoon.woff?7kkyc2') format('woff'),
                url('fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
            font-size: normal;
            font-style: normal;
        }

        span {
            font-family: 'icomoon';
            font-size: 50px;
            color: rgb(165, 37, 37);
        }
    </style>
</head>

<body>
    <span></span>
</body>

</html>